<%@ page import="com.ecomm.util.TreeNode,
				 com.ecomm.util.Function,
				 java.net.URLDecoder,
				 java.util.StringTokenizer,
				 java.util.ArrayList,
                 com.ecomm.themes.newstyle.functiontree.MenuGenerator"%>
<%@page contentType="text/html;charset=utf-8"%>
<%@include file="/include/currentuserinfo.jsp" %>
<%@include file="/include/filepath.jsp"%>
<%
	String functionUrl = request.getParameter("functionUrl");
	
	if (!"".equals(Function.normalizeString(functionUrl)))
	{
		StringTokenizer token = new StringTokenizer(functionUrl,":");
		ArrayList lstItem = new ArrayList();
		String strUrl = null;
		String temp="";
		while (token.hasMoreTokens())
		{
			String item = token.nextToken(); 
			temp = temp + item + "&";
		}
		
		if (temp.length() >= 1)
		{
			strUrl = URLDecoder.decode(temp.substring(0,temp.length()-1));
		}
			
		//System.out.println("-----in welcome.jsp----- strUrl = "+strUrl);
		pageContext.forward(strUrl);
	}
	else
	{
		pageContext.forward("/personal/today.jsp");
	}

%>

<html>
<head>
<meta http-equiv=content-type content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="<%=currentSkinCss%>" id="menuStyleSheet">
<script type="text/javascript">
//点击页面菜单隐藏
document.onclick = function()
{
    if(window.top.hideAllMenuScriptlets)
    {
        window.top.hideAllMenuScriptlets();
    }
}

</script> 


</head>
<body id="body" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0" scroll=no>
<TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
  <tr> 
    <td valign="top" > <div id="Layer1" style="width:100%; height:100%; z-index:50; overflow: auto;"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
          <tr> 
            <td valign="top" align="center"><br> 
			<table class="location">
                <tr> 
                  <td class="location_td"> <li>当前位置： 开始工作欢迎页面&nbsp;&nbsp;&nbsp; 
                  </td>
                </tr>
              </table>
              <br> 
			  <table  cellpadding="0" cellspacing="0"  class="labeltable_top">
                <tr> 
                  <td class="labeltable_top_left" nowrap>&nbsp;</td>
                  <td class="labeltable_top_middle" nowrap>&nbsp;</td>
                  <td class="labeltable_top_right" nowrap>&nbsp;</td>
                </tr>
              </table>
              <table  cellspacing="0" cellpadding="0"  class="labeltable_middle">
                <form action="" method="post">
                  <tr> 
                    <td class="labeltd_middle"> <br> <table width="96%" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td width="80" valign="middle" align="center"><img src="<%=currentStylePath%>tip.gif" ></td>
                          <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr> 
                                <td><b>提示：</b><%=sessionmng.getUserInfo().getName()%>&nbsp;欢迎你进入办公自动化系统，祝您工作顺利：）。</td>
                              </tr>
                            </table></td>
                        </tr>
                      </table>
                      <br>
                      <table  class="labeltable_middle_table">
                        <tr> 
                          <td class="labeltable_middle_td">信息提示</td>
                        </tr>
                        <tr> 
                          <td > <img src="<%=ctxpath%>/themes/newstyle/images/6_2040.gif">
                          </td>
                        </tr>
                      </table>
                      
                      <br> <br> </td>
                  </tr>
                </form>
              </table>
<table border="0" cellpadding="0" cellspacing="0" class="labeltable_bottom">
    <tr>
        <td class="left">&nbsp;</td>
        <td class="center">&nbsp;	 </td>
        <td class="right">&nbsp;</td>
    </tr>
</table>
              <br> </td>
          </tr>
        </table>
 		</div></TD>
  </TR>
 </TABLE>
</body>
</html>
